/**
 * 
 */
package za.ac.wits.elen7045.exceptions;

import java.text.SimpleDateFormat;
import java.util.Date;



/**
 * @author ed
 *
 */
public class ApsExceptionTest {
	
	public static void main(String [] args) {
		
		SimpleDateFormat dateFormatter = new SimpleDateFormat("dd/MM/yyyy");
		Date today = new Date();
		String stringDate = dateFormatter.format(today);
		System.out.println("Testing Date Format: " + stringDate);
		
		dateFormatter = new SimpleDateFormat("HH:mm:ss");
		String currentTime = dateFormatter.format(today);
		System.out.println("Testing Time Format: " + currentTime);
		
		ApsExceptionTest apsExTest = new ApsExceptionTest();
		

		
	}
	
	public ApsExceptionTest() {
		System.out.println("Testing ApsErrorToXml functionality");
		testApsErroToXml();
	 	
	}
	
	public void testApsErroToXml() {
		ActionRequiredByBillCoSiteException actReq = 
				new ActionRequiredByBillCoSiteException("aDummyUrl");
	}

}
